find — Find non-zero elements


\begin{rail}
Find : 'find' '(' Matrix ')' ;
\end{rail}
find finds the indices of the non-zero elements of the argument matrix. The argument is treated as being a vector, so the return values are just element numbers, not row and column numbers. The format of the return values is a row vector. This function can be used to test for elements that meet a certain criteria.

Subsections